package org.study.mybatis.boot.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 类的描述
 *
 * @author Administrator
 * @date 2021-05-26
 */
@Data
@ToString
public class TestVO implements Serializable {

    @NotBlank(message = "name 不能为空")
    private String name;

    @NotNull(message = "state 不能为空")
    private Integer state;
}
